﻿using API_lib.Plugin;
using Handball_plugin.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;

namespace Handball_plugin
{
    [Export(typeof(ElderPlugin))]
    public class HandballPlugin : ElderPlugin
    {
        public enum HandType { Left, Right };
        public enum PositionType { GoalKeeper, LeftWing, LeftBack, CenterBack, RightBack, RightWing, Pivot };
        public enum StaffType { HeadCoach, Coach, Physio, Doctor };
        public enum AgeType { Adult, Junior, Youth, Teen };
        

        private List<HandballChampionshipMO> championships;
        private List<HandballPlayerMO> players;
        private List<HandballTeamMO> teams;
        private List<HandballStaffMO> staffs;
        private List<HandballRefereeMO> referees;

        public List<HandballChampionshipMO> Championships { get { return championships; } set { championships = value; } }
        public List<HandballPlayerMO> Players { get { return players; } set { players = value; } }
        public List<HandballTeamMO> Teams { get { return teams; } set { teams = value; } }
        public List<HandballStaffMO> Staffs { get { return staffs; } set { staffs = value; } }
        public List<HandballRefereeMO> Referees { get { return referees; } set { referees = value; } }
    }
}
